package com.adcc.loadsheet.monitor.entity;

import java.util.Objects;

public class Remark {
    private  String personnel;
    private  String emergencyplans;

    public String getPersonnel() {
        return personnel;
    }

    public void setPersonnel(String personnel) {
        this.personnel = personnel;
    }

    public String getEmergencyplans() {
        return emergencyplans;
    }

    public void setEmergencyplans(String emergencyplans) {
        this.emergencyplans = emergencyplans;
    }

    @Override
    public String toString() {
        return
                "运维人员信息='" + personnel + '\'' +
                ", 应急方案='" + emergencyplans ;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Remark remark = (Remark) o;
        return Objects.equals(personnel, remark.personnel) && Objects.equals(emergencyplans, remark.emergencyplans);
    }

    @Override
    public int hashCode() {
        return Objects.hash(personnel, emergencyplans);
    }
}
